import 'package:flutter/material.dart';

class Paddingdemo {
  static Widget getWidget() {
    return Column(
      children: [
        Padding(
          padding: const EdgeInsets.only(bottom: 20.0),
          child: SizedBox(
            height: 10,
            width: 100,
            child: DecoratedBox(decoration: BoxDecoration(color: Colors.red)),
          ),
        ),
        Padding(
          padding: const EdgeInsets.only(bottom: 20.0),
          child: SizedBox(
            height: 10,
            width: 100,
            child: DecoratedBox(decoration: BoxDecoration(color: Colors.blue)),
          ),
        ),
        Padding(
          padding: const EdgeInsets.only(bottom: 20.0),
          child: SizedBox(
            height: 10,
            width: 100,
            child: DecoratedBox(decoration: BoxDecoration(color: Colors.green)),
          ),
        ),
      ],
    );
  }
}
